question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

change runtime the field type

See original GitHub issue

I’m submitting a … (check one with “x”)

[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[x] support request

Expected behavior

Is possible to change runtime the type of a form field?

field

I would like to build a query builder I need to choice the field in the first combo box and with the type of selected field build the related control. (like here https://zebzhao.github.io/Angular-QueryBuilder/demo/ )

@aitboudad any suggestion?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
aitboudadcommented, Feb 22, 2019

The dynamic field should be wrapped inside fieldGroup in order to avoid overriding the type of custom field itself which may produce some undesired side-effect.

see https://stackblitz.com/edit/angular-2tdkxm-svzcgd

Read more comments on GitHub >

github_iconTop Results From Across the Web

Runtime fields | Elasticsearch Guide [8.5] | Elastic
Field data types ... If you make a runtime field an indexed field, you don't need to modify any queries that refer to...
Read more >
Can I set the type of a field within a class at runtime to a newly ...
The issue is that MyClass.MyField is declared with type object and so the implicit cast operators that exist for the new type are...
Read more >
Elasticsearch Runtime Fields- How to Use Them, Examples ...
A runtime field is a field evaluated at query time instead of indexing time, which allows us to modify our schema at the...
Read more >
Creating fields on the fly in Kibana with runtime fields - YouTube
It's easier than ever to transform data on the fly in Kibana. runtime fields unlock the power to extract and transform existing data...
Read more >
Elastic Runtime Field example repository
Let's say you indexed a field as text that you would like to use as a keyword field. Before we had runtime fields...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found