Page MenuHomePhorge

number_setting.vue
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

number_setting.vue

<template>
<span
v-if="matchesExpertLevel"
class="NumberSetting"
>
<label
:for="path"
:class="{ 'faint': shouldBeDisabled }"
>
<template v-if="backendDescriptionLabel">
{{ backendDescriptionLabel + ' ' }}
</template>
<template v-else-if="source === 'admin'">
MISSING LABEL FOR {{ path }}
</template>
<slot v-else />
</label>
<input
:id="path"
class="number-input"
type="number"
:step="step || 1"
:disabled="shouldBeDisabled"
:min="min || 0"
:value="realDraftMode ? draft :state"
@change="update"
>
{{ ' ' }}
<ModifiedIndicator
:changed="isChanged"
:onclick="reset"
/>
<ProfileSettingIndicator :is-profile="isProfileSetting" />
<DraftButtons />
<p
v-if="backendDescriptionDescription"
class="setting-description"
:class="{ 'faint': shouldBeDisabled }"
>
{{ backendDescriptionDescription + ' ' }}
</p>
</span>
</template>
<script src="./number_setting.js"></script>

File Metadata

Mime Type
text/html
Expires
Thu, Oct 2, 4:25 AM (18 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
481025
Default Alt Text
number_setting.vue (1 KB)

Event Timeline