Reactive Questions
Ad
Angular 2 md-select don't bind selected value when populate from Observable array
I have angular2 reactive form which contains md-select to make user select doctor from firebase md-select works fine when data exists before
Angular Material 2 md-input is not focusing when i setValue to the formGroup
Something weird is happening with md-input focus: this is one of the element i have <md-input-container
Hide or minimise search facet component after making a selection
We're building a reactivesearch solution and have a requirement to hide or minimise a facet
How to throttle events in bloc?
How to throttle events in bloc? let's say, i want to trigger file save on user input, but perform file system access not more often than once per
BLoC with const widget
What i had: const mainwidget - row -- blocbuildera -- blocbuilderb -- blocbuilderc what i have now:
What best practice to call requests if no connection - repeat call every 4-5 seconds until we get response, use Rx
For example we have some methods private fun getmobiledata() { apiclient.getmobiledata()
Implement for-await-of statement in RxJS
I have the following statement: for await (const blob of client.list()) { console.log('\t', blob.name); }
`object` supplied to `ReactiveComponent`, expected `function`
I'm getting this error when trying to use reactivesearch for a search bar. this is how i'm initialising it: render() { const {
Reactive search filter available filters
I have set up a sample application based on filtering car sales
When should I create a new Subscription for a specific side effect?
Last week i answered an rxjs
Ad
How to set a child component without rendering it in the parent component?
My parent component retrieves a list and inflates it as a table. i want the row click cb (onrowclick) to populate another
Angular Reactuve Form Control valueChanges get value changed field name , prev value and current value
this.form = this.fb.group({ prop1: '', prop2: '' }); this.form.valuechanges.pipe(startwith(null), pairwise()) .subscribe(([prev,
How to send ion-datetime to firebase as a timestamp?
I am using ionic 4 and firebase for a project and everything is going great except for the dates. i started seeing warnings in the console that
angular reactive form throws "Cannot find control with name" for irrelevant model field
I'm attempting to build an edit component with angular reactive forms. however, i get the error "error: cannot find form control with name:
Purpose of throttle with parameter Func<TSource, IObservable<TThrottle>> throttleDurationSelector
All the documentation i found about rx.net throttling does not cover the overload with a parameter func<tsource,
Kotlin extension function on subsbcribing to RxJava's Flowable data
I want to write a function that automatically subsbcribes to rxjava's flowable<t> and get the resulting data. this data will
My reactJS app doesnt re renders when redux changes the state in store
Iam new to learning redux. when i write store.subscribe(render) my app compiles without errors but nothing shows up. i've been following an
Flutter - Cubit - loaded state - managing redirection to a page - 2 builds of the page are made
Sorry for my english i'm french. i develop in flutter (dart) and i experience a strange behavior in my code using cubit (bloc) when i want
Angular custom form control not updating form value
I have a password input component, which is a custom form control. the problem is, when i type into the input, the form value (created with
Angular reactive form: Displaying error text when form has error
I´m struggling with displaying error message under the textarea in my form. i have custom-textarea which is a normal texarea component with some
Why reactiveTextFields doesn't work well when in different class than FormGroup?
I have a class where i initialized formgroup: final form = formgroup( { 'oldpassword':
Ad
Spark AR Why if-else if construction doesn't work?
I don't understand why if-else construction doesn't work. const diagnostics = require('diagnostics'); const reactive =
how to add a text field with google places dynamically using ionic 4
I'm tying to use google-place-api autocomplete in my project, but it gives me an error: typeerror: cannot read property
Disposable object is null after subscription
In the below code, i created an example to learn functional programming using rx. i am trying to handle a handlerthread as
Edit/update reactive form using angular and firebase
I'm trying to edit/update a form from another view by elementid. employee-list.comonent.ts(view 2): onedit(empid:string){
RxJava/RxKotlin complains about accessing views
I have the following call to retrieve some data from server and update the ui according to response.
How to efficiently detect changes in an array that changes over time
I intend to continuously poll a couple of endpoints where i receive an array of objects as json. these objects are bound to change over time and
I am getting a unique key prop warning when i have a unique key
I am new to react but i know main concept of unique key. however, i am getting a warning. below i have an item component:
How to get values of reactive form inputs in Angular?
I need to grab reactive form inputs email and password and pass them to my function which calls register service method
Flutter conditional rendering of 2 forms - duplicates the form values to the other form
I'm trying to do conditional rendering of two forms, using flutter
Undefined value after RxJs mapping
Why am i getting undefined inside subscribe method? i am trying to combine to data sources. customers and categories. i am trying to fill
How to debounce by ID in RxJS
My problem is the next: i want to debounce the liking functionality of my app. i using actions to make changes in my app, for example:
Ad
Get length of text in *ngFor
I am fairly new to angular (8) and i try to get the length of the input value, which i created in a *ngfor like this:
Using an observable variable without a controller in Flutter GetX
Something that i didn't completely understand about the get package is whether it is always required to put the observable variables in a
React Native update state in FlatList
I'm building an e commerce app with react native. i'm stuck with an issue. in the "basket" page, i want to show the total price of the items.
React using method parameter as an object key to update state
How can i use a function parameter as a property name to update state i.e. onstudentpinchange = (propertyname, e) => {
Flutter - Bind form to model
I'm using reactive_forms in flutter which is a model-driven forms
Assign a const variable inside a map function
I'm using reactivesearch, and i'm trying to assign a const variable inside a map function. specifically in the .map like such:
Kotlin: How to check variable with lateinit property is initialized or not
I have a variable that is declared like private lateinit var apidisposable: disposable and then in
Cannot find control with name:
I have a quite complicated form which i want to break down into individual components. here is my base form (only taken example fields), i'm using
WhenActivated not called in ViewModel
I'm using reactiveui 8.7.2 to create android/ios xamarin.native app with shared viewmodels. i want to use whenactivated in fragments
Rxjs subscription queue
I have a firebase subscription in my angular app which fires multiple times. how can ich achieve that the tasks are processed as a queue so that i
How to rebuild StreamBuilder on resumed state with Flutter
I develop an app using bloc pattern. in my app there are 2 routes, route a and b, and both of them access same data. a problem caused when moving
Ad
ReactJS - embedding custom element in a custom element
I just started to learn reactjs and encountered a problem that i can't solve. i'm creating a basic application for tv shows. i have a
How to execute more than 3 parallel http requests using RxJava (+ retrofit2) on Android
I'm trying to learn how to work with rxjava (io.reactivex.rxjava2:rxandroid:2.0.1) + retrofit2 + kotlin. how observable is
Reactive Form Components
We use many angular material fields and they are all presented the same. i want a way to simplify any changes coming from ui designers and
How to combine RxJava Single & Completable Retrofit calls in Android Application
My current android application employs retrofit and rxjava to choreograph my network calls. i have modelled my
Android observer pattern and data binding, start activity when boolean property is changed
So i have a login activity and viewmodel using firebase login and i am using data binding with it as well and i have been trying to figure out a
Convert Flutter stream from Firebase to ints
I have a flutter app with chat functionality, where the chats are stored in firebase database. i have a bottomnavigationbar which
How can I add formArray to a formGroup?
First of all apologize for my english. i have a problem when trying to add an array field to a formgroup. i'm trying to add a
Is there any performance issue on loading big component using this.props.children in react native?
I am new to react native and i want to know that, is there any performance issue when we load big component using props.children ?
Failed prop type: Invalid prop `responsive` of type `string` supplied to `Image`, expected `boolean`
Line in question: <poster info="info" id={movie.id} path={movie.poster_path} title={movie.title}
Angular 5 - reactive form- is there a way to patch value using a variable?
I have a form group with many fields : this.addressform = this.formbuilder.group({ line1: ['', validators.required],
ReactiveAggregate() + collection.update() -> Error: Expected to find a document to change
The reactive aggregation is published to the client initially without errors. the error seems to be triggered, when the meteor.user
Ad
React JS - Help needed with setting state of same but repeating input box within the table
I have a table with each row having a single input box "product quantity" (type="number") getting repeated using .map() function . but whenever i
JavaScript, React : Creating a button with ColorPicker
I want to create a button with some text and also should show the color last selected(shown in the image below). on tap of that should
Should we use a reactive-stack web framework like spring webflux when we have blocking calls?
I'm trying to understand when we would use a reactive-stack framework like webflux. i've read articles that seems to suggest that we would benefit
RxJava2 merged Observable doesn't stop
Why merge operator doesn't stopped after obs2 oncompleted? i am looking at diagram from this book
Can i edit vue data by reference?
Let me take an example to explain my problem. example: i have a person class which looks similar to this class person {
retrieve data from asyncStorage in react native
I know the similar question has been asked such as
How to set and get form values when we use css dropdown as shared component
I have a shared component which is a html and css dropdown. i am calling this shared component from a parent component with different data.
ReactiveSearch, DataSearch and indexing user query
I'm using the datasearch from reactivesearch for an autocomplete feature and i'm trying to figure out how i can take the user's selected query and
Reactivesearch - search from any route
I'm experimenting with reactivesearch and using the reactivelist component. i'm trying to figure out how i can navigate though my react
Login form error react native
I am new to react native, i tried to make login form but i can get password value but not username when i change the position of input component
'Incompatible type' error in emitting a String array in an Observable in RxJava 2
Asking a very basic rxjava question here because i couldn't find it anywhere else. i'm having this observable in rxjava 2 -
Ad
Understanding SwitchMap in rxjs
As per the definition of the switchmap on each emission the previous inner observable (the result of the function you
doOnSubscribe gets called on main thread
After reading multiple blog posts and documentation, i came to the conclusion that following doonsubscribe will be executed on a
Convert Listener to Single in RxJava2
I am using the play services
Suggestions are not showing for DataSearch when the search needs to happen on elastic field of array type
My elastic search provides the results as an elastic array. here is how the mappings look. "positions": {
FlatList is not being visible when i set Flex=1 to the top most view
I have a flatlist as follows. i was not able to make the content scrollable, so, i have added a style for the view as flex=1. after i
Periodically call an observable and switch to next one only when next one succeeds
I need to poll endpoint every second, currently i do it with observable.interval(0, 1, timeunit.seconds, ioscheduler)
Pagination / Infinite scrolling in Flutter with caching and realtime invalidation
It's been a long time since i started to search for a flutter listview library that will allow me to use pagination in a smart way. sadly i
How do I implement a database connection/select/close using RxJS observables
I'm using node-oracledb to connect to an oracle database. the api provides its own promises, that can be casted to promise<t>
Change css of specific clicked element with React.js
This is my first question here, so sorry if this looks a bit confusing. i'm developing an application in react.js in my internship and currently
Flutter Reactive Programming (Stream) with Signal R
I try to implement a chat system in flutter with a back-end in asp.net core and a connection in real-time via signalr. the goal is when i
Vue lost reactivity
Can't understand why this simple things not reactive. looks like i'm missed some vue's basis. <template> <div>
Ad
Mono not executing with schedule
I have a spring webflux app with the below method. @override public mono<integer> updatesetting(int orgid, integrationdto
How to solve a change detection issue with nested reactive form components?
I have the following (simplified) scenario: a component that has a (reactive) form with nested components acting as form
MultiList/MultiDropdownList not showing or throwing errors in React
I have been struggling to get some of the faceted search options working in reactivesearch/reactivebase. when trying to get the multilist
react stateless component with connect
I want to create an auth hoc that will redirect the user or show the component. ie: const authextender = props => {
When FlatMap will listen to multiple sources concurrently?
What are the situations which cause flux::flatmap to listen to multiple sources (0...infinity) concurrently? i found
MutableStateFlow not working with MutableList
Here is my mutablestateflow value i try to work with: val songlist: mutablestateflow<mutablelist<song>> =
Processing a list of rx.Observables
I want to process a list<observable<myresponse>>. how can i do this?had a look at observable.zip() but unable to
Even after submitting valid values in angular fields submit button remains disabled
I am trying enable the login button based on the email validations using angular's validators.email. however, even after entering all the required
password and confirmpassword validation in angular using reactive forms
I have attached my code below .im facing problem in adding password mismatch validation.im not getting validation error if i type mismatching
Change form elements using angular form
I am making angular dynamic form with form-elements loaded through json.. the form element generation are working fine, but i am in the
Vue.js: Reactively update a component on a click
I have a component for adding/deleting an item to/from favorites. it works perfectly fine but a user cannot see whether he/she added the item to
Ad
Input regular expression pattern typescript reactiveform
I have some input filed like this <input type="text" formcontrol="presentestimatedvalue"
Adding confirm password validation to Angular Reactive Forms?
I'm following this tutorial for
Use of undeclared type 'SignalProducerType
I am new to reactivecocoa and reactiveswift, i am having task of update code from swift2 to swift4 after updating code i stuck in one point where
Loading dynamic form from JSON using angular 6
I am creating angular 6 dynamic forms by using link,
Cascade Dropdown in Angular Reactive Form
For the cascading dropdown, on changing the country, the state value must be reset. how can i achieve that ? this is what i did
How can I get all results in ReactiveList
I've tried to use on all data but it doesn't work since i can get only the number of results as stated in the 'size' parameter. here part of my
How to cache Mono object
I have the following code: final t savedentity = repository.save(entity); entitycacheservice.putintocache(entity.getid(),
ReactiveX: filter out numbers from observable so that total never goes below zero
The following rxjs code displays numbers from the input list and the running total: let inputs = [10, 10, -30, 10, -30, 50, -25,
How can I tell if an element has re-rendered or not in VueJS?
What is a simple method of determining whether or not a component has been re-rendered in vuejs? edit: i found the best answer to this
Failed prop type: Invalid prop of type `function` supplied expected a single ReactElement
I'm trying to make a post using react v4 and axios, i was following
RxJava: catch exception properly
I am trying to perform some io operation in the schedulers io thread, and if an exception is thrown, i want to show some toast to the user.
Ad
how to use Firebase snapshot with rxdart streams
I've a class that has all firebase related functions, and another class to manage state (bloc). how to make them work consistently?.
VueJs - Passing variables between methods
There is a v-select component and on change i am firing up filldata(selected) where selected is the
Ad
Blog Categories
Ad