Comments (6)
@clarkepaul question about the designs; I have spoken with @flamerohr and he suggested to look into a new approach.
Instead of a dropdown + textfield approach, could we use a single comobox (typeable dropdown) as a means of selecting an existing / creating a new value.
Change:
To:
A demo of how the combobox could work can be tested at https://jedwatson.github.io/react-select/ (bottom of page, select single select).
from silverstripe-admin.
I believe the reason I had suggested it was too hard was because the campaigns would be mixing types of data - IDs (number) with Name of new campaign
(string)
the anchor work is just string for new or existing, so it's much easier to deal with
from silverstripe-admin.
Won't be able to get this done in time for beta3. Moved to next milestone.
WIP at https://github.com/open-sausages/silverstripe-cms/tree/pulls/4.0/anchor-modal
from silverstripe-admin.
Yeah that would be good if it was possible. I thought we didn't have that UI possibility though as I already asked for this pattern to be introduced for adding items to campaigns (select or add new) but I was told it was too hard to do, I think @flamerohr said it was too hard to do.
from silverstripe-admin.
Thought it might be good to add this related issue as we were going to use the same approach as mentioned above but either we didn't have time to implement or wasn't quite appropriate at the time. @flamerohr has some tips for implementation also #161 (comment)
If we do use this functionality then we could retrospectively update the "add to campaign" to follow the same pattern?
from silverstripe-admin.
Feedback from review is implemented.
from silverstripe-admin.
Related Issues (20)
- unstable_useBlocker is not a function HOT 1
- BUG: elemental no longer allows saving of HTML Editor fields HOT 3
- Broken builds HOT 1
- Submitting a FormBuilder form submits all FormBuilder forms HOT 3
- .cms-description-toggle no longer works HOT 1
- JS change tracking is very inconsistent
- ModelAdmin defined the custom url segment approach broken HOT 3
- Sporadic failures in silverstripe/admin CI HOT 13
- Empty import modal - Users/Groups import HOT 5
- Refactor FormBuliderModal to seperate the FormSchema concern from the Modal concern HOT 1
- Exception seen when importing from custom URL slug HOT 5
- Jumping to random CMS tabs when navigating pages HOT 2
- "Undefined index" error when accessing some model admins HOT 1
- TreeDropdownField::setDisableFunction() has no visual or functional affect
- Untranslatable js text `Search options` HOT 3
- `SearchableDropdownField` doesn't work in form modal HOT 2
- Unstyled screen and CMS-specific text HOT 6
- Unlinking a record gives a "Are you sure you want to delete this record?" message HOT 1
- "Manage roles" link in CMS returns Invalid Model Class HOT 3
- TreeDropdownField, CheckboxField and some other fields have a misleading appearance in read only mode.
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 silverstripe-admin.