Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you create primevue input fields that are disabled #79

Open
mingardia opened this issue Oct 21, 2023 · 2 comments
Open

How do you create primevue input fields that are disabled #79

mingardia opened this issue Oct 21, 2023 · 2 comments

Comments

@mingardia
Copy link

No description provided.

@sfxcode
Copy link
Owner

sfxcode commented Nov 19, 2023

Good Morning,

input fields have the disabled property and you can it with a value or a funnction.

 <InputText :disabled="true" />

In primevue-formkit you can use use disabled in your configuration, but you have to use the underscore:

      $formkit: 'primeInputText',
      name: 'iconRight',
      label: 'Icon Right (Disabled)',
      help: 'Right Icon Demo',
      iconRight: 'pi pi-check',
      _disabled: true,
    },

Hope that helps,

Tom

@mingardia
Copy link
Author

mingardia commented Nov 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants