Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get hasValueState() {
return this.valueState !== ValueState.None;
}
get hasValueState() {
return this.valueState !== ValueState.None;
}
*/
disabled: {
type: Boolean,
},
/**
* Defines the value state of the <code>ui5-multi-combobox</code>.
* Available options are: <code>None</code>, <code>Success</code>, <code>Warning</code>, and <code>Error</code>.
*
* @type {string}
* @defaultvalue "None"
* @public
*/
valueState: {
type: ValueState,
defaultValue: ValueState.None,
},
/**
* Defines whether the <code>ui5-multi-combobox</code> is readonly.
* <br><br>
* <b>Note:</b> A read-only <code>ui5-multi-combobox</code> is not editable,
* but still provides visual feedback upon user interaction.
*
* @type {boolean}
* @defaultvalue false
* @public
*/
readonly: {
type: Boolean,
},
get hasValueState() {
return this.valueState !== ValueState.None;
}
get hasValueState() {
return this.valueState !== ValueState.None;
}
},
/**
* Defines the value state of the <code>ui5-radiobutton</code>.
* Available options are <code>Warning</code>, <code>Error</code>, and
* <code>None</code> (by default).
* <br><br>
* <b>Note:</b> Using the value states affects the visual appearance of
* the <code>ui5-radiobutton</code>.
*
* @type {string}
* @defaultvalue "None"
* @public
*/
valueState: {
defaultValue: ValueState.None,
type: ValueState,
},
/**
* Defines the name of the <code>ui5-radiobutton</code>.
* Radio buttons with the same <code>name</code> will form a radio button group.
* <br><b>Note:</b>
* The selection can be changed with <code>ARROW_UP/DOWN</code> and <code>ARROW_LEFT/RIGHT</code> keys between radios in same group.
* <br><b>Note:</b>
* Only one radio button can be selected per group.
* <br>
* <b>Important:</b> For the <code>name</code> property to have effect when submitting forms, you must add the following import to your project:
* <code>import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";</code>
*
* <b>Note:</b> When set, a native <code>input</code> HTML element
* will be created inside the <code>ui5-radiobutton</code> so that it can be submitted as
*/
name: {
type: String,
},
/**
* Defines the value state of <code>ui5-select</code>.
* Available options are: <code>None</code>, <code>Success</code>, <code>Warning</code> and <code>Error</code>.
*
* @type {string}
* @defaultvalue "None"
* @public
*/
valueState: {
type: ValueState,
defaultValue: ValueState.None,
},
_text: {
type: String,
noAttribute: true,
},
_iconPressed: {
type: Boolean,
noAttribute: true,
},
/**
* @private
*/
opened: {
text: {
type: String,
},
/**
* Defines the value state of the <code>ui5-checkbox</code>.
* <br><br>
* <b>Note:</b> Available options are <code>Warning</code>, <code>Error</code>, and <code>None</code> (default).
*
* @type {string}
* @defaultvalue "None"
* @public
*/
valueState: {
type: ValueState,
defaultValue: ValueState.None,
},
/**
* Defines whether the <code>ui5-checkbox</code> text wraps when there is not enough space.
* <br><br>
* <b>Note:</b> By default, the text truncates when there is not enough space.
*
* @type {boolean}
* @defaultvalue false
* @public
*/
wrap: {
type: Boolean,
},
/**
value: {
type: String,
},
/**
* Visualizes the validation state of the Web Component, for example
* <code>Error</code>, <code>Warning</code> and
* <code>Success</code>.
*
* @type {string}
* @defaultvalue "None"
* @public
*/
valueState: {
type: ValueState,
defaultValue: ValueState.None,
},
/**
* Determines the format, displayed in the input field.
*
* @type {string}
* @defaultvalue ""
* @public
*/
formatPattern: {
type: String,
},
/**
* Determines the calendar type.
* The input value is formated according to the calendar type and the picker shows
*/
value: {
type: String,
},
/**
* Defines the value state of the <code>ui5-input</code>.
* Available options are: <code>None</code>, <code>Success</code>, <code>Warning</code>, and <code>Error</code>.
*
* @type {string}
* @defaultvalue "None"
* @public
*/
valueState: {
type: ValueState,
defaultValue: ValueState.None,
},
/**
* Determines the name with which the <code>ui5-input</code> will be submitted in an HTML form.
*
* <b>Important:</b> For the <code>name</code> property to have effect, you must add the following import to your project:
* <code>import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";</code>
*
* <b>Note:</b> When set, a native <code>input</code> HTML element
* will be created inside the <code>ui5-input</code> so that it can be submitted as
* part of an HTML form. Do not use this property unless you need to submit a form.
*
* @type {string}
* @defaultvalue ""
* @public
*/