elcobvg / svelte-bulma-forms Goto Github PK
View Code? Open in Web Editor NEWBulma form components for Svelte
Home Page: http://svelte-bulma-forms.surge.sh/
License: MIT License
Bulma form components for Svelte
Home Page: http://svelte-bulma-forms.surge.sh/
License: MIT License
CSS issue:
In vertical layout, following elements have incorrect label positions
[!] (svelte plugin) ParseError: Directive value must be a JavaScript expression enclosed in curly braces
node_modules\svelte-bulma-forms\src\fields\AutoCompleteField.html
22: {rounded}
23: {readonly}
24: on:change="changeValue(event)"
^
25: on:focus="set({ hasFocus: true })"
26: on:blur="set({ hasFocus: false })"
ParseError: Directive value must be a JavaScript expression enclosed in curly braces
at error$1 (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:13483:20)
at Parser$2.error (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:13559:10)
at read_attribute (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:12783:25)
at tag (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:12606:26)
at new Parser$2 (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:13518:22)
at parse$2 (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:13649:21)
at compile (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\svelte\compiler.js:23734:12)
at preprocessPromise.then.code (C:\Users\acer\Documents\GitHub\ticket-caller\node_modules\rollup-plugin-svelte\index.js:236:22)
Repo is growing... Time to add some tests!
For bit better UX: switch on right side of input field.
(FA icons: eye
and eye-slash
)
Caveat: validation's check
icon is also on the right side
Now validation only works in fields, not in stand-alone controls.
Use Pixabay JS lib.
https://www.npmjs.com/package/javascript-autocomplete
Add prop and validation function to PasswordField
to compare it with another PasswordField
for confirmation.
Add some kind of parent <Form>
component to keep track of state changes, validation etc.
Select field with addons doesn't display correctly.
Try, if it's not too big. Want to keep this lean.
Misses isAsync
prop and input
event handler. (Both passing on/from control)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.