Skip to main content

Number

Badaso provides an input component in the form of numbers, namely BadasoNumber. When generating CRUD, the width of this component can be set in Optional Details with the following format.

{  "size": "6", // 1-12 default 12}

View: BadasoNumber#

The code below is a sample for using BadasoNumber in the Vue Template.

<badaso-number    :label="label"    :placeholder="placeholder"    v-model="model"    size="12"    :alert="error"></badaso-number>

props#

Below is a list of props that this component provides.

size: {    type: String,    default: "12"},label: {    type: String,    default: "Number"},placeholder: {    type: String,    default: "Number"},value:  {    type: String,    required: true,    default: ''},additionalInfo: {    type: String,    default: "",},alert: {    type: String|Array,    default: "",},