Comments (3)
On thing we can do, which is fairly easy, is add more built-in options for string format when configuring attributes. Most obvious are various ISO date and ISO country code formats, but we could also do email
, uri
, ipv4
, etc. These formats can be used for validation, but also providing a better UI (e.g. datetime picker or dropdown with all possible country codes).
A more advanced version, which will be harder to implement, is full JSON Schema support to allow arbitrary regex validation, min/max length, and more.
from growthbook.
@jdorn what if a text field is added to configure the values of the targeting attribute? It would be like typing the only possible and case-sensitive values of the attribute. Of course, this would be optional and the current option would be the default.
from growthbook.
@fabianmarinog I believe what you're asking for already exists. You can set up an "enum" attribute and then list out all the possible values. Users will be shown a drop-down instead of a freeform text box.
from growthbook.
Related Issues (20)
- [Feature] integrate the growthbook iframe in website
- [Feature] Add the ability to limit the maximum size of the saved groups HOT 1
- Set feature flag values via URL query params
- [CI] [Feature] Run script to refresh CAPABILITIES.md when updates are made to SDK versions, capabilities
- [Bug] Redirect url feature works incorrect HOT 4
- [Feature] Add ability to apply capping only on Numerator
- AWS Cognito SSO Documentation HOT 1
- [Feature] Fetching features via API filtered by tag
- [Question] Return only the features flags of an app HOT 1
- [Feature] Minimum elapsed time threshold
- AWS Athena - Assume Role HOT 2
- [Bug] Users with global no-access role are unable to view their personal access tokens HOT 1
- [Feature] Update environment controller and remove ability to update environments from putOrganization
- [Feature] Filter projects on create resource forms
- [Bug] Persistent logs from okhttp3.OkHttpClient when using GBFeaturesRepository
- [Bug] Global Webhooks do not report all possible SDK payload changes HOT 5
- [Bug]
- [Bug] "Target by Saved Groups" doesn't work as expected HOT 1
- [Bug] Test not splitting traffic correctly after reset and re-randomizing audience HOT 1
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 growthbook.