georgefst / monpad

A fully-customisable web-based gamepad, designed to be used from smartphones.
BSD 3-Clause "New" or "Revised" License
39 stars 5 forks source link

Input element configuration #37

Open georgefst opened 3 years ago

georgefst commented 3 years ago

We should allow some styling options. Currently these can only be plain white boxes.

georgefst commented 3 years ago

It would also be nice to make the step size configurable for number inputs. We set this to "any" in c6ebd4cd42e7b90eb3faa8b344764874cabeda74.

georgefst commented 3 years ago

We may want maxlength as well (#39). And presumably minlength.

georgefst commented 3 years ago

It's worth saying, this is all trivial to add. But we should try to work out everything we want first, rather than making multiple breaking changes.

georgefst commented 3 years ago

See https://github.com/georgefst/monpad/commit/d5c80dd7b801e97c067e4a453737d26bef5ad8ff.

So I think we're back to just wanting styling options.