Select Number Field

<sw-select-number-field> extends <sw-select-field>

ready
select input field. Values will be transformed to numbers.

Usage

Loading...
<sw-number-select-field placeholder="placeholder goes here..." label="label">
    <option value="1">Label #1</option>
    <option value="2">Label #2</option>
    <option value="3">Label #3</option>
    <option value="4">Label #4</option>
    <option value="5">Label #5</option>
</sw-number-select-field>

Component properties

Property name Type Default
value Number

Methods

Method name Parameters
onChange event

Watcher

  • value