Comments (18)
I like this new Repeatable
option. I'm also creating a theme now and I've just stumbled upon the need to create fields for inputting social icons for a footer. The Repeatable
option would be the answer to this.
Perhaps the syntax for this can be:
$panel->createOption( array(
'type' => 'repeatable',
'id' => 'my_repeatable',
'options' => array(
array( ... ), // option parameters, like the array you pass to a createOption call,
array( ... ), // each one is a new option in the group
array( ... ),
),
) )
Then doing a getOption would give you a multi-dimensional array of the grouped values
What do you think?
I think though that we should still do #10 for simpler options that can just sort items and enable/disable items.
from titan-framework.
Yeah that's exactly what I had in my mind.
We also need settings such as:
addable (bool)
removable (bool)
sortable (bool)
Yes you're right. #10 should be separate.
from titan-framework.
Any update on this one? I'm in desperate need of some repeatable options for a plugin I'm working on in which the user needs to be able to add/remove inputs. Furthermore, they would ideally be able to add/remove groups of inputs, since each repeatable item consists of two inputs (e.g. width and height). Any ideas?
from titan-framework.
Sorry Mickey, quite busy now and unfortunately can't do any Titan
development. Hopefully in 1-2 weeks I can allot some time for Titan :(
from titan-framework.
Checking in again :) This is definitely the number one feature request on my end right now. Repeatable options and option groups is a MUST for me. I'm trying to figure out which framework to base our theme/plugin work on moving forward, and this is really the most important factor right now. Any word?
Thanks Ben!
from titan-framework.
BUMP!!
Any update on this?
from titan-framework.
BUMP ! Update on this please. Migrating from Redux to Titan, due to some features, but missing a repeatable (that I actually made myself for redux through extentions). Might build one myself and make a pull request.
from titan-framework.
Bump ;( I'm using unyson.io untill this has been created..
from titan-framework.
Bump
from titan-framework.
One of the most critical field types. Bump.
from titan-framework.
Would be an awesome feature. Any time to implement it?
from titan-framework.
Bump
from titan-framework.
Bump -- this would be great!
from titan-framework.
In my research, the idea that "repeat" should be an option is a misconception. When implemented as an option, it leads to requiring one or more of the field. The correct cardinality of any repeater not marked "required" is ZERO or more. The more successful repeaters are implemented as classes, for they can store their code as variables even when the length of the repeater is equal to zero.
from titan-framework.
Any update on this feature?
Would love to see this in Titan but last commit was 8 months ago.
from titan-framework.
Bump for this great feature.
from titan-framework.
Bump
from titan-framework.
Bump.
Currently they are busy for big... LOL
from titan-framework.
Related Issues (20)
- Dead? HOT 5
- Need help with color picker after WP 4.9 update HOT 13
- create multiple option with same id HOT 1
- Date option default expects timestamp, docs state Y-m-d formatted string HOT 3
- undefined js function for number option HOT 2
- New problem with Color Picker and NextGen Gallery HOT 5
- Customizer Container, Font Field - Two Color Pickers?
- CSS ID contains inappropriate characters
- Docs and main website down HOT 1
- Quick Edit not working
- $titan->setOption() not saving data to database HOT 1
- Suggestion add more Filters in output file url
- Wrong check in the CSS Generation function
- Typo in docs
- Is this framework dead?
- Is Titan Dead? HOT 20
- PHP 7.4 issue HOT 1
- Documentation site is down, Siteground changed IP address
- [WARNINGS] Theme check for Wordpress.org HOT 1
- wpColorPickerL10n not defined in WP 5.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from titan-framework.