tighten / nova-package-development

A forum for talking about the process of Nova Package Development
52 stars 2 forks source link

Collection of customizable Nova Fields [WIP] #24

Closed beliolfa closed 5 years ago

beliolfa commented 6 years ago

Hi there!

We are working in a rewrite of every "native" field that comes with Nova.

The idea is make them more configurable and reusable in package development. We have done ID, Text, Number, Textarea, Select, Password and Boolean so far. If you like the idea you can collaborate with us with your awesome PRs!

Some examples:

Boolean::make('Activo', 'active')
                ->yesLabel('Yeah')
                ->noLabel('Nope')
                ->hideLabelInDetail()
                ->dotClasses('some classes')
                ->successClass('bg-warning')

We are also adding events in vue components that propagates up to the chain so the parent notices when something has happened

Looking forward to see your feedback.

https://github.com/64robots/nova-fields